package com.karson.service.context;


import com.karson.common.model.StorageConfig;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author ZKS
 */
@Getter
public class StorageConfigUpdateEvent extends ApplicationEvent {

    private final StorageConfig newConfig;

    public StorageConfigUpdateEvent(Object source, StorageConfig newConfig) {
        super(source);
        this.newConfig = newConfig;
    }

}